package com.weixin.server.sm;

import com.weixin.domain.sm.Employee;
import com.weixin.request.RegisterCustomerRequest;
import com.weixin.response.LoginResponse;

import java.util.ArrayList;
import java.util.List;

/**
 * @author lc
 * @email 389125111@qq.com
 * @create 2018-03-23 15:48
 */
public interface EmployeeService {
    /**
     * 查询用户
     *
     * @param username 用户名
     * @return Employee
     */
    LoginResponse findByUsername(String username);

    /**
     * 用户注册
     *
     * @param request RegisterCustomerRequest
     * @return true-成功，false-失败
     */
    boolean registerCustomer(RegisterCustomerRequest request);


    /**
     * test
     *
     * @param employees
     */
    void update(List<Employee> employees);

}
